package com.chixing.day04_oop.cpu;

public class TestComputer {
    public static void main(String[] args) {
        Cpu cpu1 = new Cpu();
        cpu1.setCpuId(1001L);
        cpu1.setCpuModel("酷睿");
        cpu1.setCpuManufacturer("Inter");

        Cpu cpu2 = new Cpu(1001L,"锐龙","AMD");

        VideoCard videoCard1 = new VideoCard();
        videoCard1.setVidId(9001L);
        videoCard1.setVidModel("RTX");
        videoCard1.setVidManufacturer("Nvidia");

        VideoCard videoCard2 = new VideoCard(9002L,"R9","AMD");

        MainBoard mainBoard = new MainBoard(cpu1,videoCard1);
        System.out.println(mainBoard);



    }

}
